﻿using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
using Volo.Abp.Application.Dtos;
using Volo.Abp.Application.Services;

namespace Himp.Platform.Dc
{
    public interface IPublicItemService : IApplicationService
    {
        /// <summary>
        /// 获取公共收费项目列表
        /// </summary>
        /// <param name="input"></param>
        /// <returns></returns>
        Task<PagedResultDto<PubItemDto>> GetListAsync(PubItemInput input);

        /// <summary>
        /// 
        /// </summary>
        /// <param name="id"></param>
        /// <returns></returns>
        Task<PubItemDto> GetAsync(Guid id);

        /// <summary>
        /// 添加公共收费项目
        /// </summary>
        /// <param name="input"></param>
        /// <returns></returns>
        Task<PubItemDto> PostAsync(PubItemCreateDto input);

        /// <summary>
        /// 删除公共收费项目
        /// </summary>
        /// <param name="id"></param>
        /// <returns></returns>
        Task DelteAsync(Guid id);

        /// <summary>
        /// 修改公共收费项目
        /// </summary>
        /// <param name="input"></param>
        /// <returns></returns>
        Task<PubItemDto> PutAsync(Guid id, PubItemUpdateDto input);

        /// <summary>
        /// 更新公共收费项目状态
        /// </summary>
        /// <returns></returns>
        Task PostStatusAsync(List<PublicItemStatusUpdateDto> input);
    }
}
